package com.yupi.model.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 返回的组队信息，其中包含用户的信息等
 *
 * @author xz
 */
@Data
public class TeamVO implements Serializable {

    private static final long serialVersionUID = -8871506395368420416L;

    private long id;

    private Integer status;

    private String name;

    private String description;

    private Long userId;

    private Integer maxNum;

    private Date expireTime;

    private Date createTime;

    List<UserVO> userVOS;

    private UserVO createUser;

    //是否已加入队伍
    private boolean hasJoin = false;
}
